﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/Core.Master" AutoEventWireup="true"
    CodeBehind="DatabaseManagementUI.aspx.cs" Inherits="Pap.Web.Modules.Administration.Views.DatabaseManagementUI" %>

<asp:Content ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <ext:FitLayout runat="server">
        <ext:FormPanel ID="MainForm" runat="server" Frame="true" Border="true">
            <Body>
                <ext:Panel ID="pnlBackup" Title="BackUp" runat="server" Collapsible="true">
                    <Body>
                        <ext:FormLayout runat="server">
                            <ext:Anchor>
                                <ext:Label HideLabel="true" runat="server" Text="To backup the current database press the backup button,
                                    and shortly you will see a message confirming the operation." />
                            </ext:Anchor>
                        </ext:FormLayout>
                    </Body>
                    <Buttons>
                        <ext:Button ID="btnBackUp" runat="server" Text="BackUp">
                            <AjaxEvents>
                                <Click OnEvent="btnBackUp_Click">
                                    <EventMask ShowMask="true" Msg="Backing Up Datbase..." />
                                </Click>
                            </AjaxEvents>
                        </ext:Button>
                    </Buttons>
                </ext:Panel>
                <ext:Panel ID="pnlRestore" Title="Restore" runat="server" Collapsible="true">
                    <Body>
                        <ext:FormLayout runat="server">
                            <ext:Anchor>
                                <ext:Label HideLabel="true" ID="Label1" runat="server" Text="To restore the database press the restore button,
                                    and shortly you will see a message confirming the operation." />
                            </ext:Anchor>
                        </ext:FormLayout>
                    </Body>
                    <Buttons>
                        <ext:Button ID="btnRestore" runat="server" Text="Restore">
                            <AjaxEvents>
                                <Click OnEvent="btnRestore_Click">
                                    <EventMask ShowMask="true" Msg="Restoring Database..." />
                                </Click>
                            </AjaxEvents>
                        </ext:Button>
                    </Buttons>
                </ext:Panel>
            </Body>
        </ext:FormPanel>
    </ext:FitLayout>
</asp:Content>
